package com.tssup.fesco.search.dao;

import com.tssup.fesco.sales.goods.persistent.mapper.ISearchHotKeyMapper;
import com.tssup.fesco.sales.goods.persistent.pojo.ISearchHotKey;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by jiashen on 17-4-11.
 */
@Repository
public class ISearchHotKeyDao {
    @Autowired
    ISearchHotKeyMapper iSearchHotKeyMapper;

    public List<ISearchHotKey> getAllSearchHotKeys() {
        return iSearchHotKeyMapper.getAllSearchHotKeys();
    }

    public ISearchHotKey getSearchHotKey(Integer kId) {
        return iSearchHotKeyMapper.getSearchHotKey(kId);
    }
}
